<?php

  $string = "weekend php";
  echo strrev($string);
